Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitise hyphens when using pattern id as theme hook #295

Open
wants to merge 3 commits into
base: 8.x-1.x
Choose a base branch
from

Conversation

gambry
Copy link
Contributor

@gambry gambry commented Jun 30, 2020

With #243 we allowed hyphens as pattern id. Although this work perfectly, we haven't fully tested overriding patterns template through theme suggestions.

And indeed if there is a hyphen in the pattern id, overrides are not loaded.

This PR address this bug.

@gambry
Copy link
Contributor Author

gambry commented Jun 30, 2020

This was originally PR #270

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant